Please see the MongoDB web site for the most recent documentation on installing MongoDB on the web server:
http://docs.mongodb.org/manual/.